package com.daqian.chance.example.dynamic.datasource.modules.db1.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.daqian.chance.example.dynamic.datasource.modules.db1.po.entity.Member;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

/**
 * <p>
 * 用户-信息 Mapper 接口
 * </p>
 * @author daqian
 * @since 2019-07-25
 */
public interface MemberMapper extends BaseMapper<Member> {

    @Select("select * from member")
    List<Member> querAll();

    @Update("update member set name = 'xxxx'")
    int updateTest();
}
